package com.gxa.accommodation.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.sql.Timestamp;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Accommodation implements Serializable {

  @TableId(value = "id", type = IdType.ASSIGN_ID)
  private Long id;
  private String country;
  private String province;
  private String name;
  private String englishName;
  private Byte accommodationType;
  private Byte starType;
  private Byte currency;
  private BigDecimal price;
  private Integer size;
  private String score;
  private String evaluation;
  private String phoneNum;
  private String address;
  private String label;
  private String img;
  private Integer refundHour;
  private BigDecimal refundRule;
  private Byte status;
  private String policy;
  private Timestamp createTime;
  private Timestamp updateTime;
  /**
   * 是否删除
   */
  @TableLogic
  private Byte isDelete;

}
